<?php
/**
 * PHP Framework Domain Model EntityType class
 * Implements a reflectable type common to all entities
 *
 * @author Andrew <andrew@vitche.com>
 * @author Frozen Rain <frozenrain@mail.ru>
 **/
class EntityType extends Type {

    private $_fields = null;

    public function __construct(&$fields) {
        $this->_fields = &$fields;
    }

    public function getFieldNames() {
        return array_keys($this->_fields);
    }
}
?>